#include<ctime>
#include<string>

#include"timeparse.h"


time_t timeConvert(string logtime)
{
  struct tm *time1=new tm;
  time_t timestamp1;
  strptime(logtime,"%d/%b/%Y:%H:%M:%S %z",time1);

  time.tm_isdst = 0;
  timestamp1 = mktime(time1);
  return timestamp1;
}



